var utils = require('./exports/utils')
var constant = require('./exports/constant')
var point_map = require('./exports/point_map')
var ad_util = require('./exports/ad_util')
var ocrUtils = require('./exports/ocrUtils')
var search30 = require('./search30')
var search2 = require('./search2')
var shop = require('./shop')

  function main() {
    var index = 0;
    while (true) {
      if (index > 100) {
        return;
      }
      video.go_page_from_home();
      sleep(2 * 1000);
      treasure.go_page_from_home();
      sleep(2 * 1000);
      ad.go_page_from_home();
      sleep(2 * 1000);
      console.show();
      console.log("在等待下一个轮回,5s");
      sleep(5 * 1000);
      console.hide();
      sleep(2 * 1000);
      index = index + 1;
    }
  }
  main();
  